package com.ways.poi.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.ways.poi.mapper.LexusModelMapper;
import com.ways.poi.entity.LexusModel;

import java.util.List;

@Service
public class LexusModelService{

    @Resource
    private LexusModelMapper lexusModelMapper;

    
    public LexusModel selectByPrimaryKey(String carId) {
        return lexusModelMapper.selectByPrimaryKey(carId);
    }

    public List<LexusModel> selectModelList() {
        return lexusModelMapper.listModels();
    }
}
